import React from 'react';
import { Icon } from './base';

/**
 * &#xe6d2; 积分兑换
 *
 * @export
 * @class IconExchangeCoin
 * @extends {Icon}
 */
export default class IconExchangeCoin extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#2C2C2C',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M457.670416 932.490954v0.37555c-14.396088 0.7511-29.29291 1.251834-44.314915 1.251833-206.552567 0-333.488509-74.609291-333.488508-127.937408-0.37555-1.752567-0.37555-3.630318 0-5.382885v-167.745721c73.983374 50.574083 193.28313 82.495844 333.488508 82.495843 22.157457 0 40.183863-18.026406 40.183863-40.183863 0-22.157457-18.026406-40.183863-40.183863-40.183863-206.552567 0-333.488509-74.609291-333.488508-128.062592v-172.753056c73.983374 50.574083 193.28313 82.37066 333.488508 82.37066 140.205379 0 259.379951-31.671394 333.488509-82.37066v74.108558c0 22.157457 18.026406 40.183863 40.183863 40.183863 22.157457 0 40.183863-18.026406 40.183863-40.183863v-214.06357c0-7.010269-1.877751-13.770171-5.382885-19.778973-30.294377-101.398533-195.286064-174.00489-407.972616-174.00489S35.552078 73.858191 5.382885 175.006357C1.877751 181.015159 0 187.775061 0 194.78533v606.012714c0.37555 1.752567 0.37555 3.630318 0 5.382885 0 118.548655 177.635208 208.054768 413.355501 208.054768 16.649389 0 32.798044 0 48.821516-1.377017 22.157457-1.251834 39.182396-20.279707 37.930562-42.437164s-20.279707-39.182396-42.437163-37.930562zM413.355501 80.618093c206.552567 0 333.488509 74.609291 333.488509 128.062592S619.908068 336.618093 413.355501 336.618093c-206.552567 0-333.488509-74.609291-333.488508-127.937408S206.802934 80.618093 413.355501 80.618093z"
                    fill={color}
                />
                <path
                    d="M885.797555 795.790709c-0.125183 0-0.125183-0.125183-0.250367-0.125183-11.767237-6.008802-26.163325-1.251834-32.172127 10.640586 0 0 0 0.125183-0.125183 0.125184L838.728606 835.348655a24.285575 24.285575 0 0 1-21.781907 12.893888h-11.14132v-62.716871h40.934963c13.269438 0 23.910024-10.76577 23.910025-23.910024v-83.497311c0-13.269438-10.76577-23.910024-23.910025-23.910024H821.202934l14.771638-14.771638c9.63912-9.013203 10.139853-24.160391 1.12665-33.799511-9.013203-9.63912-24.160391-10.139853-33.799511-1.126651-0.37555 0.37555-0.7511 0.7511-1.12665 1.001467l-48.696332 48.57115h-7.886553l-48.571149-48.57115c-9.013203-9.63912-24.160391-10.01467-33.799511-1.001467-9.63912 9.013203-10.01467 24.160391-1.001467 33.799511l1.001467 1.001467 14.771638 14.771639h-25.912958c-13.269438 0-23.910024 10.76577-23.910025 23.910024v83.497311c0 13.269438 10.76577 23.910024 23.910025 23.910024h32.046943c-1.251834 22.783374-8.387286 56.332518-38.806846 64.719804-12.768704 3.379951-20.40489 16.399022-17.150122 29.167727 2.754034 10.515403 12.267971 17.901222 23.158924 17.901222 2.128117 0 4.131051-0.250367 6.259169-0.7511 55.331051-14.771638 71.98044-68.099756 73.858191-110.53692H757.359413V857.506112c0.250367 22.032274 18.151589 39.68313 40.183863 39.432763h20.02934c27.415159 0.125183 52.451834-15.397555 64.719805-39.933496l14.521271-28.917359c5.758435-11.892421 0.876284-26.413692-11.016137-32.297311z m-209.682152-58.210269v-35.552078h147.090465v35.552078H676.115403z"
                    fill={color}
                />
                <path
                    d="M752.477262 480.328606c-149.969682 0-271.522738 121.553056-271.522739 271.522739s121.553056 271.522738 271.522739 271.522738c149.969682 0 271.522738-121.553056 271.522738-271.522738-0.625917-149.719315-121.803423-271.022005-271.522738-271.522739z m0 474.820538c-111.913936 0.125183-202.671883-90.632763-202.797066-202.546699-0.125183-111.913936 90.632763-202.671883 202.546699-202.797066 111.913936-0.125183 202.671883 90.632763 202.797066 202.546699v0.125184c-0.250367 111.913936-90.757946 202.546699-202.546699 202.671882z"
                    fill={color}
                />
            </svg>
        );
    }
}
